package br.com.xp.galera.login.service;

import br.com.xp.galera.domain.Usuario;
import br.com.xp.galera.exception.UsuarioInvalidoException;
import br.com.xp.galera.login.core.LoginServiceBusiness;

public class LoginServiceImpl implements LoginService {

	private LoginServiceBusiness loginServiceBusiness;
	
	public Usuario entrar(String login, String senha) throws UsuarioInvalidoException {
		return loginServiceBusiness.entrar(login, senha);
	}

	public void setLoginServiceBusiness(LoginServiceBusiness loginServiceBusiness) {
		this.loginServiceBusiness = loginServiceBusiness;
	}
	
}
